 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>
	ThundeRex中美专递|中美专递|快递|中美送|电子商务物流解决方案
</title>
<link href="{CSS_PATH}fenglei_css/Member.css" rel="stylesheet" type="text/css" />
<script src="{JS_PATH}fenglei_js/jquery-1.3.2.min.js" type="text/javascript"></script>
</head>
<body>
    <div id="historybox">
    <div id="title">
    <span class="spanleft">历史订单</span>
    </div>
    <div id="divbody">
    <div>
	<table cellspacing="4" cellpadding="4" align="Center" sortexpression="order_date" sortdirection="DESC" id="gvOrder" style="color:#333333;font-size:Medium;width:750px;text-align: center; font-size: large">
		<tbody><tr style="color:White;background-color:#507CD1;font-weight:bold;">
			<th scope="col">序号</th><th scope="col">订单编号</th><th scope="col"><a href="javascript:__doPostBack('gvOrder','Sort$order_date')" style="color:White;">日期</a></th><th scope="col"><a href="javascript:__doPostBack('gvOrder','Sort$order_price')" style="color:White;">订单价格</a></th><th scope="col"><a href="javascript:__doPostBack('gvOrder','Sort$order_state')" style="color:White;">状态</a></th>
		</tr>
        {php $qti=0}
        {loop $datas $r}
        <tr>
        {$qti++}
        <td>{$qti}</td>
        <td>{$r[orderid]}</td>
        <td>{php echo date('Y-n-d',$r['uptime'])}</td>
        <td>{$r[orderprice]}</td>
        <td>
        {php if($r['state']==5){echo "已完成";} else {echo "已取消";}}
        </td>        
        </tr>
        {/loop}
	</tbody></table>
</div>
 </div>
 </div>
            <div class="paginator">               
			{$pages}
            </div>

</body>
</html>